package dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;
import service.HelloService;

/**
 * @author qdf
 * @date 2019/11/7 22:25
 */
@Service
@Component
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        System.out.println("调用到我了");
        return "hello"+name;
    }
}
